﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace iChat.AjaxResponse
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {/*
            try
            {
                if (Request["From"].Trim() == Session["name"].ToString())
                {
                    //Response.Write(Session.SessionID.ToString());
                    User toUser = DBA.DB_USER_PROFILE.GetUser(Request["To"].Trim());
                    if (toUser._msgNotSent == "sent") toUser._msgNotSent = null;
                    toUser._msgNotSent += Request["From"] + "<$$$##$$$>" + Request["To"] + "<$$$##$$$>" + Request["content"] + "<$$$MSG$$$>";
                    DBA.DB_USER_PROFILE.updateUser(toUser);
                }
                else
                {
                    Response.Write("failed");
                }
            }
            catch (Exception error_MsgSend)
            { Response.Write("failed"); }
*/
        }
    }
}
